//
//  BRPlayer.m
//  budejie
//
//  Created by LinBrong on 16/9/1.
//  Copyright © 2016年 Dason. All rights reserved.
//

#import "BRPlayer.h"

@interface BRPlayer()


/*  播放器  */
@property (strong, nonatomic) AVPlayer *player;


@end

static id  _instance;
@implementation BRPlayer

+(instancetype)defaultPlayer {
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance = [[self alloc]init];
    });
    return _instance;

}

- (void)setFrame:(CGRect)frame {
    _frame = frame;
    
    self.player = [AVPlayer playerWithURL:_URL];
    
    
    
    
    
    
    
}





@end
